package Modelo;

import java.util.ArrayList;

public class CursoConcreto {
	private Integer IDcc;
	//private String CM;
	private CursoMaestro CM;
	private String CodCC;
	private String FFI;
	private String FFF;
	private Integer CantClases;
	private Integer HsxClase;
	private Integer TTHsClase;
	private Integer Vacantes;
	private Integer CantMin;
	private ArrayList <String> DiasDeClase;
	private ArrayList <String>	Horario;
	private String Sala;
	private String Instructor;
	private String Estado;
	
	//constructor
	public CursoConcreto(CursoMaestro ccmm, Integer ID){
		this.IDcc=ID;
		this.CM=ccmm;
		this.CodCC=CM.DameCod()+IDcc;
		this.Vacantes=20;
		this.CantMin=10;
		this.Estado="Creado";
	}
	///Asignar-----
	public void AsignarFFI(String f){
		this.FFI=f;
	}
	public void AsignarFFF(String f){
		this.FFF=f;
	}
	
	public void AsignarCantClases(Integer n){
		this.CantClases=n;
	}
	public void AsignarHsxClase(Integer n){
		this.HsxClase=n;
	}
	public void AsignarTTHsClase(){
		this.TTHsClase=this.CantClases * this.HsxClase;
	}
	public void AsignarVacantes(Integer n){
		this.Vacantes=n;
	}
	public void AsignarCantMin(Integer n){
		this.CantMin=n;
	}
	public void AsignarDiasDeClase(String s){
		this.DiasDeClase.add(s);
	}
	public void AsignarHorario(Integer s1, Integer s2){
		this.Horario.add(s1+"-"+s2);
	}
	public void AsignarSala(String s){
		this.Sala=s;
	}
	public void AsignarInstructor(String s){
		this.Instructor=s;
	}
	public void AsignarEstado(String s){
		this.Estado=s;
	}
	//dame
	public Integer DameIDcc(){
		return this.IDcc;
	}
	public String DameCod(){
		return this.CodCC;
	}
	public String DameFFI(){
		return this.FFI;
	}
	public String DameFFF(){
		return this.FFF;
	}
	public Integer DameCantClases(){
		return this.CantClases;
	}
	public Integer DameHsxClase(){
		return this.HsxClase;
	}
	public Integer DameTTHsClase(){
		return this.TTHsClase;
	}
	public Integer DameVacantes(){
		return this.Vacantes;
	}
	public Integer DameCantMin(){
		return this.CantMin;
	}
	public ArrayList<String> DameDiasDeClase(){
		return this.DiasDeClase;
	}
	public ArrayList<String> DameHorario(){
		return this.Horario;
	}
	public String DameSala(){
		return this.Sala;
	}
	public String DameInstructor(){
		return this.Instructor;
	}
	public String DameEstado(){
		return this.Estado;
	}

}
